package com.iamback.dy.mapper;

import com.iamback.dy.entity.DyContent;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by heanyinqin on 2018/8/4.
 */
public interface DyContentMapper {

    DyContent getById(Long contentId);
    void insertContentByex(Long contentId);
    void insertContent(DyContent dyContent);

    List<DyContent> getListByText(String keyWords);
    List<DyContent> getListByDyIds(Map<String,Object> map );
}
